Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  DeleteItem
Prev Next

DeleteItem removes the given item from the physical storage.  The method returns True if the removal was successful, false otherwise.

bool DeleteItem(
  ItemDefinition item,
  CallContext context
)

Sitecore calls the DeleteItem to remove the provided item from the physical storage.  All data (including all fields) and the item definition itself must be removed.


Prev Next